package com.sgb.link.api;

import com.sgb.net.core.BaseCompatibleNet;

import okhttp3.OkHttpClient;

/**
 * @author 杨畔
 * @date 2021/7/6 09:36
 * description: 物流网络请求类
 */
public class LogisticsNet extends BaseCompatibleNet {

    private final LogisticsAPI mService;

    private LogisticsNet() {
        mService = getService(LogisticsAPI.class, mBaseUrl);
    }

    private static class Single {
        private static final LogisticsNet INSTANCE = new LogisticsNet();
    }

    public static LogisticsNet getInstance() {
        return Single.INSTANCE;
    }

    @Override
    protected void handleBuilder(OkHttpClient.Builder builder) {

    }

    public LogisticsAPI getService() {

        return mService;
    }
}
